package thread;

enum Singleton_enum {
    INSTANCE;
    public void someMethod() {}

    public static void main(String[] args) {
        //Singleton s = new Singleton();
        Singleton_enum s1 = Singleton_enum.INSTANCE;
        Singleton_enum s2 = Singleton_enum.INSTANCE;
        System.out.println(s1 == s2);
    }
}


